#if !defined(_OTA_HTTP_CURL)
#define _OTA_HTTP_CURL
#define OTA_URL_FILEINFO "http://192.168.35.48:8000/fileinfo.json"
#define OTA_URL_DOWNLOAD "http://192.168.35.48:8000/download/gateway"
#define OTA_LOCAL_FILE_PATH "/root/gateway.update"
typedef struct {
	char *data;
	int len;
} response_body_t;


 response_body_t *ota_http_curl_get_response(char *url );


 int ota_http_curl_download(char *url ,char *file_path);

 


#endif // _OTA_HTTP_CURL
